package com.kedll.library.widget.pullDownMenu;

import android.content.Context;
import android.view.View;

/**
 * 下拉菜单基础适配器
 * 可以通过此适配器来控制{@link OnDisplayClickListener}下拉菜单的显示和隐藏
 *
 * @author QiQi
 * @date 2016/10/4
 */

public abstract class BasePullDownMenuAdapter implements PullDownMenuView.PullDownMenuViewAdapter {
    protected OnDisplayClickListener listener;
    protected Context mContext;
    protected View attachView;

    public BasePullDownMenuAdapter(Context mContext) {
        this.mContext = mContext;
    }

    @Override
    public void setAttachView(View attachView) {
        this.attachView = attachView;
    }
}
